home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 018a / mcroade3.zip / EDITWP.DOC < prev    next >
Text File  |  1991-06-21  |  5KB  |  131 lines

  1.                   EditWP.wpm
  2.            Converts Macros to WordPerfect Documents,
  3.          Brings them into WordPerfect for Editing, and
  4.                Recompiles them to Macros
  5.  
  6.                                 by
  7.  
  8.                       Jeffrey S. Kane, Ph.D.
  9.                 Performance Sciences International
  10.                           Summerfield, NC
  11.  
  12. 1.   Read the MacroAde.doc and Disclaim.er files distributed with this
  13.      macro.
  14.  
  15. 2.   Requires:
  16.      
  17.      A.   WordPerfect 5.1
  18.  
  19.      B.   The presence of the following files in the directory where
  20.       your WordPerfect macro files reside (in addition to EditWP.wpm):
  21.  
  22.       1)   EditWPM.bat
  23.           2)   Macrolst.exe
  24.           3)   MCompile.exe
  25.  
  26. 3.   Features:
  27.  
  28.      A.   Enables the user to utilize WordPerfect as an editor
  29.       to create and modify macros.
  30.      
  31.      B.   The edited macro is recompiled and ready for use as soon
  32.       as the user exits from the document version of the macro.
  33.  
  34.      C.   Syntax error checking with return (at user's option) to
  35.       the editing of the macro within WordPerfect in the event
  36.       that an error is found.
  37.  
  38.      D.   In short, allows the user to gain the advantage of all
  39.       the power and familiarity of WordPerfect in the editing of
  40.           macros without any sacrifice in convenience.
  41.  
  42. 4.   Installation:
  43.  
  44.      A.   Copy the following files to the directory in which your
  45.           WordPerfect macros are located:
  46.  
  47.       1)   EditWP.wpm
  48.       2)   EditWPM.bat
  49.           3)   Macrolst.exe
  50.           4)   MCompile.exe
  51.       5)   Commands.ref
  52.       6)   BoldCmds.wpm
  53.  
  54.      B.   If your macro files are NOT located in 'D:\WP51\', then
  55.       edit the EditWP.wpm macro using WordPerfect's macro editor
  56.           (Ctrl-F10  EditM  2).  Change the value assigned to the
  57.           "WPMDir" variable in the header section to the directory
  58.           in which your macro files are located.  Be sure to put
  59.           the closing "\" at the end of any other directory you
  60.           enter.
  61.  
  62.      D.   That's all there is to it!
  63.  
  64. 5.   Operation:
  65.  
  66.      A.      To edit a macro using WordPerfect as your text editor,
  67.     simply run the EditWP macro (ALT-F10  EditWP  [ENTER]).
  68.     You will then be prompted to enter the name of the macro you
  69.     wish to edit.  You need only enter the name without the .wpm
  70.     (although the .wpm extension will be accepted).  If the name
  71.     of the macro is misspelled or the macro cannot be found for
  72.     some reason the user is simply alerted to the fact and returned
  73.     to WordPerfect where he/she can try again.
  74.  
  75.      B.      Assuming that the specified macro name is valid, EditWP
  76.     will then shell to DOS where the batch file will take over.
  77.     An ASCII text version of the macro will be created by MACROLST
  78.     and this will be imported into WordPerfect.  In a few moments
  79.     you'll be facing your macro on the full document editing screen
  80.     of WordPerfect.  Make any changes that you wish to make to the
  81.     macro.
  82.  
  83.      C.      For assistance in the syntax of macro and keystroke
  84.     commands, split the screen into two windows, switch to the DOC 2
  85.     window, and retrieve (using Text In/Out the first time) the
  86.     Commands.ref file.  It contains all of the commands as well as
  87.     the number codes for the keystroke commands.
  88.  
  89.      D.      When you're finished editing, press EXIT (F7).  The
  90.     compiler will take over at that point and recompile the macro.
  91.     You'll then be returned to WordPerfect at an empty document
  92.     screen unless the compiler encountered an error.
  93.  
  94.      E.      If an error occurs during the attempt to recompile the
  95.     edited macro, its correction is required before the process can
  96.     proceed further.  The user is returned into WordPerfect to correct
  97.     the problem. If for some reason you don't want to resume editing
  98.     the macro in WordPerfect (e.g., you've tried to fix the problem
  99.     numerous times with no success), just press Ctrl-BREAK at the
  100.     point where you're told to press any key and respond with 'Y'
  101.     to the prompt 'Cancel Batch Job (Y/N)?'.  This will cause the
  102.     original version of the .wpm macro file to be restored and you'll
  103.     be returned to WordPerfect at the top of a blank document screen.
  104.  
  105.      F.      Using BOLDCMDS.wpm: This little utility macro BOLDS all of the
  106.     macro and keystroke commands in a macro.  It is provided for those
  107.     who want to retain the precise look of WordPerfect's internal
  108.     macro editor in the WordPerfect document versions of their macros.
  109.     There are at least two reasonable motives for this: the macro and
  110.     keystroke commands are much easier to pick out when they are bolded,
  111.     and the printed appearance of a macro listing is much more attractive
  112.     and easier to read when the commands are bolded.  All that is
  113.     necessary to run this macro is to invoke it after the macro that is
  114.     to be edited has been brought into WordPerfect by EditWP.  Of course,
  115.     it will also work fine if the macro has been saved and retrieved as
  116.     a WordPerfect document.
  117.  
  118.  
  119. 6.   Technical support:
  120.  
  121.      Free technical support will be furnished to any licensed user
  122.      who calls on weekdays during the hours from 9:00 a.m. to 5:00 p.m.
  123.      (Eastern) at the following number:  (919) 643-3492
  124.  
  125.      We may also be reached by mail at:
  126.  
  127.      Performance Sciences International
  128.      Suite 1250
  129.      3001 Latta Drive
  130.      Summerfield, NC  27358
  131.